package com.ruoyi.coronary.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 患者对象 coronar_patient
 * 
 * @author wky
 * @date 2024-02-06
 */
@Schema(description = "患者对象")
public class CoronarPatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 患者id */
    @Schema(defaultValue = "患者id")
    private Long patientId;

    


    /** 患者身份证号 */
    @Schema(defaultValue = "患者身份证号")
    @Excel(name = "患者身份证号")
    private String patientIdNumber;

    


    /** 患者姓名 */
    @Schema(defaultValue = "患者姓名")
    @Excel(name = "患者姓名")
    private String patientName;

    


    /** 患者性别（男1，女0） */
    @Schema(defaultValue = "患者性别（男1，女0）")
    @Excel(name = "患者性别", readConverterExp = "男=1，女0")
    private Long patientGender;

    


    /** 患者年龄 */
    @Schema(defaultValue = "患者年龄")
    @Excel(name = "患者年龄")
    private Long patientAge;

    


    /** 患者电话 */
    @Schema(defaultValue = "患者电话")
    @Excel(name = "患者电话")
    private String patientPhoneNumber;

    




    /** 患者常驻地址 */
    @Schema(defaultValue = "患者常驻地址")
    @Excel(name = "患者常驻地址")
    private String patientAddress;

    

    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }


    public void setPatientIdNumber(String patientIdNumber) 
    {
        this.patientIdNumber = patientIdNumber;
    }

    public String getPatientIdNumber() 
    {
        return patientIdNumber;
    }


    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }


    public void setPatientGender(Long patientGender) 
    {
        this.patientGender = patientGender;
    }

    public Long getPatientGender() 
    {
        return patientGender;
    }


    public void setPatientAge(Long patientAge) 
    {
        this.patientAge = patientAge;
    }

    public Long getPatientAge() 
    {
        return patientAge;
    }


    public void setPatientPhoneNumber(String patientPhoneNumber) 
    {
        this.patientPhoneNumber = patientPhoneNumber;
    }

    public String getPatientPhoneNumber() 
    {
        return patientPhoneNumber;
    }


    public void setPatientAddress(String patientAddress) 
    {
        this.patientAddress = patientAddress;
    }

    public String getPatientAddress() 
    {
        return patientAddress;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("patientIdNumber", getPatientIdNumber())
            .append("patientName", getPatientName())
            .append("patientGender", getPatientGender())
            .append("patientAge", getPatientAge())
            .append("patientPhoneNumber", getPatientPhoneNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("patientAddress", getPatientAddress())
            .toString();
    }
}
